﻿using DuToanT2.Models.DomainBase;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DuToanT2.Models
{
    public class DinhMuc : EntityBase
    {
        [Required]
        public double Value { get; set; }

        public int DinhMuc_ThanhPhanHPId { get; set; }

        [Display(Name = "Thành phần hao phí")]
        public virtual DinhMuc_ThanhPhanHP DinhMuc_ThanhPhanHP { get; set; }

        public int DinhMuc_PhanCapId { get; set; }

        [Display(Name = "Phân cấp")]
        public virtual DinhMuc_PhanCap DinhMuc_PhanCap { get; set; }
    }
}
